package com.seckill.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/****
 * @Author:www.itheima.com
 * @Description:Order构建
 * @Date  19:13
 *****/
@Data
public class OrderVo implements Serializable {

	private String id;//订单id

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createTime;//订单创建时间
}
